package entity.zhujie.lianxi.test.demo05.user;

import entity.zhujie.lianxi.test.demo05.FeiXingAnimal;
import entity.zhujie.lianxi.test.demo05.zhujie.ShuiMian;

/*
* 鸽子
* */
public class Gezi extends FeiXingAnimal {
    @Override
    public void eat() {
        super.eat();
        System.out.println("鸽子吃谷");
    }

    @ShuiMian("失眠")
    @Override
    public void sleep() {
        super.sleep();
        System.out.println("鸽子站着睡");
    }
}
